package com.xiashitech.apiservice.dto;

import com.xiashitech.interfaces.apiservice.dto.base.Response;
import lombok.*;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper=false)
@NoArgsConstructor
@AllArgsConstructor
public class DesenseRuleResponse extends Response {
    private List<DesenseRuleDTO> desenseRuleDTOS;

    @Builder(toBuilder = true)
    public DesenseRuleResponse(String code, String message, List<DesenseRuleDTO> desenseRuleDTOS) {
        super(code, message);
        this.desenseRuleDTOS = desenseRuleDTOS;
    }
}
